package com.ms.education.constant;

/**
 * <p>Project:education-OrderConstant
 * <p>Powered by ms on 2023-02-16 20:42:27
 *
 * @author ms
 * @version 1.0
 * @since 1.8
 */
public class OrderConstant {

    //订单超时时间（s）
    public static Integer expiredTime = 2 * 60 * 60;

    public enum StatusEnum {

        STATUS_NO(0, "未支付"),

        STATUS_YES(1, "已支付");

        private Integer status;
        private String msg;

        StatusEnum(Integer status, String msg) {
            this.status = status;
            this.msg = msg;
        }

        public Integer getStatus() {
            return this.status;
        }
    }

    public enum PayType {

        TYPE_WX(1, "微信"),
        TYPE_ZFB(2, "支付宝");

        private Integer type;

        private String msg;

        PayType(Integer type, String msg) {
            this.type = type;
            this.msg = msg;
        }

        public Integer getType() {
            return this.type;
        }
    }

}
